package com.finstone.data.spider.cvt.model;

import java.util.ArrayList;
import java.util.List;

public class GoodsProp {
	private String datatype = "";

	private Integer hidden = 0;

	private String name = "";

	private List<Integer> nums = new ArrayList<Integer>();

	private List<String> optionAr = new ArrayList<String>();

	private List<PropMap> optionMap = new ArrayList<PropMap>();

	private String options = "";

	private Integer required = 0;

	private String type = "3";

	private String unit = "";

	private String valStr = "";

	private String value = "";

	private List<String> valueList = new ArrayList<String>();

	public static class PropMap {
		private Integer num = 0;

		private Integer selected = 0;

		private String url = "";

		private String name = "";

		public Integer getNum() {
			return num;
		}

		public void setNum(Integer num) {
			this.num = num;
		}

		public Integer getSelected() {
			return selected;
		}

		public void setSelected(Integer selected) {
			this.selected = selected;
		}

		public String getUrl() {
			return url;
		}

		public void setUrl(String url) {
			this.url = url;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public PropMap(Integer num, Integer selected, String url, String name) {
			this.num = num;
			this.selected = selected;
			this.url = url;
			this.name = name;
		}

		public PropMap(String name,String url) {
			this.url = url;
			this.name = name;
		}
		
		public PropMap(String name) {
			this.name = name;
		}
	}

	public String getDatatype() {
		return datatype;
	}

	public void setDatatype(String datatype) {
		this.datatype = datatype;
	}

	public Integer getHidden() {
		return hidden;
	}

	public void setHidden(Integer hidden) {
		this.hidden = hidden;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Integer> getNums() {
		return nums;
	}

	public void setNums(List<Integer> nums) {
		this.nums = nums;
	}

	public List<String> getOptionAr() {
		return optionAr;
	}

	public void setOptionAr(List<String> optionAr) {
		this.optionAr = optionAr;
	}

	public List<PropMap> getOptionMap() {
		return optionMap;
	}

	public void setOptionMap(List<PropMap> optionMap) {
		this.optionMap = optionMap;
	}

	public String getOptions() {
		return options;
	}

	public void setOptions(String options) {
		this.options = options;
	}

	public Integer getRequired() {
		return required;
	}

	public void setRequired(Integer required) {
		this.required = required;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getValStr() {
		return valStr;
	}

	public void setValStr(String valStr) {
		this.valStr = valStr;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public List<String> getValueList() {
		return valueList;
	}

	public void setValueList(List<String> valueList) {
		this.valueList = valueList;
	}

}
